//验证
// 1、邮箱验证
 const email = [
  { required: true, message: '邮箱不能为空' },
  { pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/, message: '邮箱格式不正确' }
]

// 2、密码验证
 const pass = [
  { required: true, message: '密码不能为空' }
]


//登录表单验证
export const loginRules = {
  email,
  pass
}
